import request from '@/utils/request'

export function loginByUsername(username, password) {
  return request({
    url: 'cloud/loginByUsername',
    method: 'get'
  })
}

export function logout() {
  return request({
    url: '',
    method: 'get'
  })
}

export function getUserInfo(token) {
  return request({
    url: 'cloud/getUserInfo',
    method: 'get'
  })
}

